package com.lyx.blogspace.admin.convert;

import com.lyx.blogspace.admin.model.vo.blogsettings.FindBlogSettingsRspVO;
import com.lyx.blogspace.admin.model.vo.blogsettings.UpdateBlogSettingsReqVO;
import com.lyx.blogspace.common.domain.dos.BlogSettingsDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author by lyx
 */
@Mapper
public interface BlogSettingsConvert {
    BlogSettingsConvert INSTANCE = Mappers.getMapper(BlogSettingsConvert.class);

    BlogSettingsDO convertVO2DO(UpdateBlogSettingsReqVO bean);
    FindBlogSettingsRspVO convertDO2VO(BlogSettingsDO bean);
}
